<?php
/**
 * 品牌模型层
 * 
 * @copyright 	Copyright (c) 2011 thinkapk.com All rights reserved.
 * @package 	ThinkAPK_Model
 * @link 		http://www.thinkapk.com/
 * @author 		richie <richbossman@163.com>
 * @version 	$Id: BrandModel.class.php 7548 2011-05-31 09:54:33Z richie $
 * 
 */
class BrandModel extends CommonModel {
	
	//取得供列表商品筛选使用的品牌列表
	public function getBrandForList($brands=array()){
		return $this->where(array('brand_id'=>array('in', $brands), 'is_show'=>1))->order('sort_order ASC')->getField('brand_id,brand_name');
	}
}
?>